	
	$("#pRight1").click(function(){
	  if($("#piccon1").hasClass("lp")){
	    $("#piccon1").animate({left:"-675px"});
	    $("#piccon1").removeClass("lp");
	    $("#piccon1").addClass("rp");
	    $("#sPoint1").css("backgroundPosition","-20px -18px");
	    $("#fPoint1").css("backgroundPosition","-32px -18px");
	  }
	});
	$("#sPoint1").click(function(){
	  if($("#piccon1").hasClass("lp")){
	    $("#piccon1").animate({left:"-675px"});
	    $("#piccon1").removeClass("lp");
	    $("#piccon1").addClass("rp");
	    $("#sPoint1").css("backgroundPosition","-20px -18px");
	    $("#fPoint1").css("backgroundPosition","-32px -18px");
	  }
	});
	$("#pLeft1").click(function(){
	  if($("#piccon1").hasClass("rp")){
	    $("#piccon1").animate({left:"0px"});
	    $("#piccon1").removeClass("rp");
	    $("#piccon1").addClass("lp");
	    $("#sPoint1").css("backgroundPosition","-32px -18px");
	    $("#fPoint1").css("backgroundPosition","-20px -18px");
	  }
	});
	$("#fPoint1").click(function(){
	  if($("#piccon1").hasClass("rp")){
	    $("#piccon1").animate({left:"0px"});
	    $("#piccon1").removeClass("rp");
	    $("#piccon1").addClass("lp");
	    $("#sPoint1").css("backgroundPosition","-32px -18px");
	    $("#fPoint1").css("backgroundPosition","-20px -18px");
	  }
	});
	
	$("#pRight2").click(function(){
	  if($("#piccon2").hasClass("lp")){
	    $("#piccon2").animate({left:"-675px"});
	    $("#piccon2").removeClass("lp");
	    $("#piccon2").addClass("rp");
	    $("#sPoint2").css("backgroundPosition","-20px -18px");
	    $("#fPoint2").css("backgroundPosition","-32px -18px");
	  }
	});
	$("#sPoint2").click(function(){
	  if($("#piccon2").hasClass("lp")){
	    $("#piccon2").animate({left:"-675px"});
	    $("#piccon2").removeClass("lp");
	    $("#piccon2").addClass("rp");
	    $("#sPoint2").css("backgroundPosition","-20px -18px");
	    $("#fPoint2").css("backgroundPosition","-32px -18px");
	  }
	});
	$("#pLeft2").click(function(){
	  if($("#piccon2").hasClass("rp")){
	    $("#piccon2").animate({left:"0px"});
	    $("#piccon2").removeClass("rp");
	    $("#piccon2").addClass("lp");
	    $("#sPoint2").css("backgroundPosition","-32px -18px");
	    $("#fPoint2").css("backgroundPosition","-20px -18px");
	  }
	});
	$("#fPoint2").click(function(){
	  if($("#piccon2").hasClass("rp")){
	    $("#piccon2").animate({left:"0px"});
	    $("#piccon2").removeClass("rp");
	    $("#piccon2").addClass("lp");
	    $("#sPoint2").css("backgroundPosition","-32px -18px");
	    $("#fPoint2").css("backgroundPosition","-20px -18px");
	  }
	});
	
	$("#pRight3").click(function(){
	  if($("#piccon3").hasClass("lp")){
	    $("#piccon3").animate({left:"-675px"});
	    $("#piccon3").removeClass("lp");
	    $("#piccon3").addClass("rp");
	    $("#sPoint3").css("backgroundPosition","-20px -18px");
	    $("#fPoint3").css("backgroundPosition","-32px -18px");
	  }
	});
	$("#sPoint3").click(function(){
	  if($("#piccon3").hasClass("lp")){
	    $("#piccon3").animate({left:"-675px"});
	    $("#piccon3").removeClass("lp");
	    $("#piccon3").addClass("rp");
	    $("#sPoint3").css("backgroundPosition","-20px -18px");
	    $("#fPoint3").css("backgroundPosition","-32px -18px");
	  }
	});
	$("#pLeft3").click(function(){
	  if($("#piccon3").hasClass("rp")){
	    $("#piccon3").animate({left:"0px"});
	    $("#piccon3").removeClass("rp");
	    $("#piccon3").addClass("lp");
	    $("#sPoint3").css("backgroundPosition","-32px -18px");
	    $("#fPoint3").css("backgroundPosition","-20px -18px");
	  }
	});
	$("#fPoint3").click(function(){
	  if($("#piccon3").hasClass("rp")){
	    $("#piccon3").animate({left:"0px"});
	    $("#piccon3").removeClass("rp");
	    $("#piccon3").addClass("lp");
	    $("#sPoint3").css("backgroundPosition","-32px -18px");
	    $("#fPoint3").css("backgroundPosition","-20px -18px");
	  }
	});
	
	$("#pRight4").click(function(){
	  if($("#piccon4").hasClass("lp")){
	    $("#piccon4").animate({left:"-675px"});
	    $("#piccon4").removeClass("lp");
	    $("#piccon4").addClass("rp");
	    $("#sPoint4").css("backgroundPosition","-20px -18px");
	    $("#fPoint4").css("backgroundPosition","-32px -18px");
	  }
	});
	$("#sPoint4").click(function(){
	  if($("#piccon4").hasClass("lp")){
	    $("#piccon4").animate({left:"-675px"});
	    $("#piccon4").removeClass("lp");
	    $("#piccon4").addClass("rp");
	    $("#sPoint4").css("backgroundPosition","-20px -18px");
	    $("#fPoint4").css("backgroundPosition","-32px -18px");
	  }
	});
	$("#pLeft4").click(function(){
	  if($("#piccon4").hasClass("rp")){
	    $("#piccon4").animate({left:"0px"});
	    $("#piccon4").removeClass("rp");
	    $("#piccon4").addClass("lp");
	    $("#sPoint4").css("backgroundPosition","-32px -18px");
	    $("#fPoint4").css("backgroundPosition","-20px -18px");
	  }
	});
	$("#fPoint4").click(function(){
	  if($("#piccon4").hasClass("rp")){
	    $("#piccon4").animate({left:"0px"});
	    $("#piccon4").removeClass("rp");
	    $("#piccon4").addClass("lp");
	    $("#sPoint4").css("backgroundPosition","-32px -18px");
	    $("#fPoint4").css("backgroundPosition","-20px -18px");
	  }
	});
	
		$("#pRight5").click(function(){
	  if($("#piccon5").hasClass("lp")){
	    $("#piccon5").animate({left:"-675px"});
	    $("#piccon5").removeClass("lp");
	    $("#piccon5").addClass("rp");
	    $("#sPoint5").css("backgroundPosition","-20px -18px");
	    $("#fPoint5").css("backgroundPosition","-32px -18px");
	  }
	});
	$("#sPoint5").click(function(){
	  if($("#piccon5").hasClass("lp")){
	    $("#piccon5").animate({left:"-675px"});
	    $("#piccon5").removeClass("lp");
	    $("#piccon5").addClass("rp");
	    $("#sPoint5").css("backgroundPosition","-20px -18px");
	    $("#fPoint5").css("backgroundPosition","-32px -18px");
	  }
	});
	$("#pLeft5").click(function(){
	  if($("#piccon5").hasClass("rp")){
	    $("#piccon5").animate({left:"0px"});
	    $("#piccon5").removeClass("rp");
	    $("#piccon5").addClass("lp");
	    $("#sPoint5").css("backgroundPosition","-32px -18px");
	    $("#fPoint5").css("backgroundPosition","-20px -18px");
	  }
	});
	$("#fPoint5").click(function(){
	  if($("#piccon5").hasClass("rp")){
	    $("#piccon5").animate({left:"0px"});
	    $("#piccon5").removeClass("rp");
	    $("#piccon5").addClass("lp");
	    $("#sPoint5").css("backgroundPosition","-32px -18px");
	    $("#fPoint5").css("backgroundPosition","-20px -18px");
	  }
	});
	
	$('#switch_r1').click(function(){
	if($('#switch_r2').hasClass("ac")){
		$('#block1').css("display","block");
		$('#block2').css("display","none");
		$(this).addClass("ac");
		$('#switch_r2').removeClass("ac");
		}
	});
	$('#switch_r2').click(function(){
	if($('#switch_r1').hasClass("ac")){
		$('#block2').css("display","block");
		$('#block1').css("display","none");
		$(this).addClass("ac");
		$('#switch_r1').removeClass("ac");
		}
	});
	
	$('#switch_p1').click(function(){
	if($('#switch_p2').hasClass("ac")){
		$('#showblock1').css("display","block");
		$('#showblock2').css("display","none");
		$(this).addClass("ac");
		$('#switch_p2').removeClass("ac");
		}
	});
	$('#switch_p2').click(function(){
	if($('#switch_p1').hasClass("ac")){
		$('#showblock2').css("display","block");
		$('#showblock1').css("display","none");
		$(this).addClass("ac");
		$('#switch_p1').removeClass("ac");
		}
	});